function twToggleRight(o) {
    var d=$(o).parents('.sideBox');
    var fold=0;
    if(-1==d.get(0).className.indexOf('fold'))
        fold=1;
    var id=$(o).attr('id');
    if(typeof(id)!='undefined'&&id!='undefined')
        $.cookie('tw_foler_id_'+id,fold,{path:'/',expires:1000});
    if(1==fold) {
        $(o).attr('title','展开');
        d.addClass('fold');
    } else {
        $(o).attr('title','收起');
        d.removeClass('fold');
        if(d.attr('loaded')!=1)
            return true;function twToggleRight(o) {
         }
         return false;
    }
}

function twRightFolded(o) {
    var n='tw_foler_id_'+$(o).attr('id');
    var v=$.cookie(n);
    return v==1;
}

function twToggleRightFollowing(o) {
    if(twToggleRight(o))
        twShowRightFollowing(o);
}

function twShowRightFollowing(o) {
    //var dom=$(o).parents('.sideBox').attr('loaded','1');
    
}

function twToggleRightTag(o) {}

function twToggleRightHotUser(o) {}

function twToggleRightRecentViewer(o) {}

function twToggleRightTopic(o) {}

function twToggleRightHotTopic(o) {}

function twShowRightHotTopic(o) {}

function twShowRightBbsTopic(o) {}

function twShowRightUserBook(o) {}

function twShowRightUserReport(o) {}

function twRightSideInit() {}

function twRightSideItemOnMouseOver(o) {
    $(o).find('.delIco').show();
}

function twRightSideItemsOnMouseOut(o) {
    $(o).find('.delIco').hide();
}

function twRightTopicDelete(o) {
    var d=$(o).parents('li');
    twFollowTopic(d.attr('topic_id'),1, function(dt) {
        d.remove();
    });
}

function twRightIconUploadHide(o) {
    $.cookie('twrt_task_icon_hide',1,{path:'/',expires:7});
    $(o).parents('.floatTip01').layerHide();
}